package com.db.patterns.decorator;

public class AutoDriveDecorator extends Decoration{
    public AutoDriveDecorator(Car car) {
        super(car);
    }

    @Override
    public void run() {
        super.run();
        System.out.println("增加自动驾驶的功能");
    }
}
